package pers.vic.dubbo.common.api;

import pers.vic.dubbo.common.model.VicModel;

import java.util.List;

/**
 * @author Vic.xu
 */
public interface DubboDemoService {

    /**
     * find by  id
     * @param id id
     * @return  model
     */
    VicModel findById(Integer id);

    /**
     * find list
     * @return list
     */
    List<VicModel> findList();

    /**
     * delete by id
     * @param id id
     * @return number
     */
    int deleteById(Integer id);

}
